package test37;

/**
 * Created by tianxiadiyishuai on 2017/11/21.
 */
public class Undergraduate extends Student {
    @Override
    String calGrade() {
        double avg=calAverage();
        if (avg>60)
        {
            grade="通过";
        }else
        {
            grade="不通过";
        }
        return grade;
    }
}
